package com.quanyan.user.model.db;

import java.io.Serializable;
import java.util.Date;

public class TbSmsVerify implements Serializable {
    private Integer id;

    //验证码调用的操作类型，通常为使用该验证码的方法名如merchant_register
    private String opType;

    //手机号
    private String mobile;

    //验证码
    private String code;

    //验证码MD5
    private String codeHash;

    //验证码状态0：未使用1：使用
    private Byte codeState;

    //验证码类型
    private String verifyName;

    //发送时间
    private Date sendTime;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpType() {
        return opType;
    }

    public void setOpType(String opType) {
        this.opType = opType;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCodeHash() {
        return codeHash;
    }

    public void setCodeHash(String codeHash) {
        this.codeHash = codeHash;
    }

    public Byte getCodeState() {
        return codeState;
    }

    public void setCodeState(Byte codeState) {
        this.codeState = codeState;
    }

    public String getVerifyName() {
        return verifyName;
    }

    public void setVerifyName(String verifyName) {
        this.verifyName = verifyName;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}